/**
* @File    :   main.go
* @Time    :   2022/05/05
* @Author  :   Mz100
* @Desc    :   None
 */

package main

import (
	_ "xdkaika/initialize"
	_ "xdkaika/routers"

	beego "github.com/beego/beego/v2/server/web"
)

func main() {
	if beego.BConfig.RunMode == "dev" {
		beego.BConfig.WebConfig.DirectoryIndex = true
		beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
	}
	beego.Run()
}
